package com.ruoyi.project.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 房产资产信息对象 asset_house
 * 
 * @author ruoyi
 * @date 2025-05-15
 */
public class AssetHouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房产ID */
    private Long houseId;

    /** 房产名称 */
    @Excel(name = "房产名称")
    private String houseName;

    /** 房产编号 */
    @Excel(name = "房产编号")
    private String houseCode;

    /** 房产地址 */
    @Excel(name = "房产地址")
    private String houseAddress;

    /** 建筑面积 */
    @Excel(name = "建筑面积")
    private BigDecimal houseArea;

    /** 使用状态（0正常 1闲置 2维修中） */
    @Excel(name = "使用状态", readConverterExp = "0=正常,1=闲置,2=维修中")
    private String houseStatus;

    /** 购置时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "购置时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date purchaseTime;

    /** 购置价格 */
    @Excel(name = "购置价格")
    private BigDecimal purchasePrice;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setHouseId(Long houseId) 
    {
        this.houseId = houseId;
    }

    public Long getHouseId() 
    {
        return houseId;
    }

    public void setHouseName(String houseName) 
    {
        this.houseName = houseName;
    }

    public String getHouseName() 
    {
        return houseName;
    }

    public void setHouseCode(String houseCode) 
    {
        this.houseCode = houseCode;
    }

    public String getHouseCode() 
    {
        return houseCode;
    }

    public void setHouseAddress(String houseAddress) 
    {
        this.houseAddress = houseAddress;
    }

    public String getHouseAddress() 
    {
        return houseAddress;
    }

    public void setHouseArea(BigDecimal houseArea) 
    {
        this.houseArea = houseArea;
    }

    public BigDecimal getHouseArea() 
    {
        return houseArea;
    }

    public void setHouseStatus(String houseStatus) 
    {
        this.houseStatus = houseStatus;
    }

    public String getHouseStatus() 
    {
        return houseStatus;
    }

    public void setPurchaseTime(Date purchaseTime) 
    {
        this.purchaseTime = purchaseTime;
    }

    public Date getPurchaseTime() 
    {
        return purchaseTime;
    }

    public void setPurchasePrice(BigDecimal purchasePrice) 
    {
        this.purchasePrice = purchasePrice;
    }

    public BigDecimal getPurchasePrice() 
    {
        return purchasePrice;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("houseId", getHouseId())
            .append("houseName", getHouseName())
            .append("houseCode", getHouseCode())
            .append("houseAddress", getHouseAddress())
            .append("houseArea", getHouseArea())
            .append("houseStatus", getHouseStatus())
            .append("purchaseTime", getPurchaseTime())
            .append("purchasePrice", getPurchasePrice())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
